<!-- INCLUDE page_header.html -->
<script language="JavaScript" type="text/javascript">
<!--
function check_form()
{
    if ((document.post.select_item_name.value.length < 2) && (document.post.item_name.value.length < 2))
    {
        alert('{MSG_NAME_EMPTY}');
        return false;
    }
    return true;
}

-->
</script>
<form method="post" action="{F_ADD_ITEM_DATA}" name="post">
<input type="hidden" name="{URI_ITEM}" value="{ITEM_ID}" />
<input type="hidden" name="mode" value="{MODE}" />
<table width="100%" border="0" cellspacing="1" cellpadding="2">
  <tr>
    <th align="center" colspan="2">{L_ADD_ITEM_DATA_TITLE}</th>
  </tr>
  <tr>
    <td width="33%" valign="top" rowspan="1" nowrap="nowra" class="row1">
        <table width="100%" border="0" cellpadding="3" cellspacing="0" class="borderless">
            <tr>
                <td width="12%">{L_ITEM_NAME}: </td><td><input type="text" name="item_name" size="35" maxlength="255" value="{ITEM_NAME}" class="input" /></td>
            </tr>
            <tr>
                <td width="12%">{L_ITEM_LEVEL}: </td><td><input type="text" name="item_level" size="35" maxlength="255" value="{ITEM_LEVEL}" class="input" /></td>
            </tr>
            <tr>
                <td width="12%">{L_DROPPED_FROM}: </td><td><input type="text" name="dropped_from" size="35" maxlength="255" value="{DROPPED_FROM}" class="input" /></td>
            </tr>
            <tr>
                <td width="12%">{L_DATA_ROW_1}: </td><td><input type="text" name="data_row_one" size="35" maxlength="255" value="{DATA_ROW_ONE}" class="input" /></td>
            </tr>
            <tr>
                <td width="12%">{L_DATA_ROW_2}: </td><td><input type="text" name="data_row_two" size="35" maxlength="255" value="{DATA_ROW_TWO}" class="input" /></td>
            </tr>
            <tr>
                <td width="12%">{L_DATA_ROW_3}: </td><td><input type="text" name="data_row_three" size="35" maxlength="255" value="{DATA_ROW_THREE}" class="input" /></td>
            </tr>
            <tr>
                <td width="12%">{L_DATA_ROW_4}: </td><td><input type="text" name="data_row_four" size="35" maxlength="255" value="{DATA_ROW_FOUR}" class="input" /></td>
            </tr>
            <tr>
                <td width="12%">{L_DATA_ROW_5}: </td><td><input type="text" name="data_row_five" size="35" maxlength="255" value="{DATA_ROW_FIVE}" class="input" /></td>
            </tr>
        </table>
    </td>
  <td>
    <table width="100%" border="0" cellpadding="3" cellspacing="0" class="borderless">
    <th colspan="2">{L_ITEM_JOBS}</th>
    <!-- BEGIN class_row -->
    <tr>
        <td width="5%" nowrap="nowrap" class="row2">
            <input type="checkbox" name="item_jobs[]" value="{class_row.VALUE}" {class_row.SELECTED}/>
        </td>
        <td nowrap="nowrap" class="row2">
            {class_row.OPTION}
        </td>
    </tr>
    <!-- END class_row -->
    </table>
    </td>
  </tr>
  <tr>
    <th align="center" colspan="2">
    <!-- IF S_ADD -->
    <input type="submit" name="add" value="{L_ADD_ITEM_DATA}" class="mainoption" /> <input type="reset" name="reset" value="{L_RESET}" class="liteoption" />
    <!-- ELSE -->
    <input type="submit" name="update" value="{L_UPDATE_ITEM_DATA}" class="mainoption" />
    <input type="submit" name="delete" value="{L_DELETE_ITEM_DATA}" class="liteoption" />
    <!-- ENDIF -->
    </th>
  </tr>
</table>
</form>
<!-- INCLUDE page_tail.html -->
